/*
 * MessagePayload.java
 *
 * Created on May 13, 2009, 4:06 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package im.messages;

import java.io.Serializable;

/**
 *
 * @author bluejack
 */
public class MessagePayload implements Serializable {
    public static int GETSTATUS=1, STATUS=2, ADDAMIALLARETE=3;
    
    int type;
    Object payload;
    
    public MessagePayload(int type, Object payload) {
        this.type = type;
        this.payload = payload;
    }
}
